package com.itheima.no.mstring;

import java.util.Scanner;

public class StringDemo05 {
    public static void main(String[] args) {
        System.out.println("请输入:");
        Scanner sc=new Scanner(System.in);
        String s = sc.next();
        String s1 = s.replace("TMD", "***");
        System.out.println(s1);
    }
}
